ACG LINK

Classic Load Balancer (CLB): Overview and Configuration Example

Amazon Classic Load Balancer (CLB) is the traditional load balancing service provided by AWS. It distributes incoming application traffic across multiple targets, such as Amazon EC2 instances, containers, and IP addresses, within one or more availability zones. Unlike Application Load Balancer (ALB) and Network Load Balancer (NLB), CLB operates at the application layer (Layer 7) for HTTP/HTTPS traffic and the transport layer (Layer 4) for other protocols. Here's a detailed overview of Amazon CLB along with a configuration example:

Features of Amazon CLB:

  1. Layer 7 Load Balancing (HTTP/HTTPS):

  2. Layer 4 Load Balancing (Other Protocols):
  3. Cookie-Based Session Stickiness:
  4. Health Checks:
  5. Integration with AWS Services:
  6. Cross-Zone Load Balancing:

Configuration Example:

Let's create a simple Amazon Classic Load Balancer and configure it to distribute HTTP traffic to backend EC2 instances using the AWS Management Console:

  1. Login to AWS Console:

  2. Open EC2 Console:
  3. Create EC2 Instances:
  4. Open Load Balancer Console:
  5. Select Classic Load Balancer:
  6. Configure Load Balancer:
  7. Configure Availability Zones:
  8. Configure Health Check:
  9. Configure Security Settings (Optional):
  10. Configure Additional Settings (Optional):
  11. Add EC2 Instances to Load Balancer:
  12. Review and Create:
  13. Monitor Load Balancer Creation:
  14. Update DNS (Optional):
  15. Test Load Balancer:
  16. Scale and Update Configuration (Optional):
  17. Delete Load Balancer (Optional):